Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Request body example

{
  section: {
    title: "Brand Guidelines"
  }
}

Success response body

{
  "id": 2,
  "title": "Brand Guidelines"
}

Params

Param name Description
course_id
required

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a Integer

section
required

Validations:

  • Must be a Hash

section[title]
required

Validations:

  • Must be a String

section[position]
required

Validations:

  • Must be a Integer